package edu.hwadee.entity;

import java.util.Date;

/**
 * Carbusiness entity. @author MyEclipse Persistence Tools
 */

public class Carbusiness implements java.io.Serializable {

	// Fields

	private Integer carbusinessId;
	private Task task;
	private Car car;
	private Date startDate;
	private Date endDate;
	private Boolean returnEmpty;
	private Integer roundtripTimes;
	private Float freight;
	private Float output;
	private Float oilwear;
	private Float mileage;
	private Float weighingFee;

	// Constructors

	/** default constructor */
	public Carbusiness() {
	}

	/** full constructor */
	public Carbusiness(Task task, Car car, Date startDate, Date endDate, Boolean returnEmpty, Integer roundtripTimes,
			Float freight, Float output, Float oilwear, Float mileage, Float weighingFee) {
		this.task = task;
		this.car = car;
		this.startDate = startDate;
		this.endDate = endDate;
		this.returnEmpty = returnEmpty;
		this.roundtripTimes = roundtripTimes;
		this.freight = freight;
		this.output = output;
		this.oilwear = oilwear;
		this.mileage = mileage;
		this.weighingFee = weighingFee;
	}

	// Property accessors

	public Integer getCarbusinessId() {
		return this.carbusinessId;
	}

	public void setCarbusinessId(Integer carbusinessId) {
		this.carbusinessId = carbusinessId;
	}

	public Task getTask() {
		return this.task;
	}

	public void setTask(Task task) {
		this.task = task;
	}

	public Car getCar() {
		return this.car;
	}

	public void setCar(Car car) {
		this.car = car;
	}

	public Date getStartDate() {
		return this.startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Boolean getReturnEmpty() {
		return this.returnEmpty;
	}

	public void setReturnEmpty(Boolean returnEmpty) {
		this.returnEmpty = returnEmpty;
	}

	public Integer getRoundtripTimes() {
		return this.roundtripTimes;
	}

	public void setRoundtripTimes(Integer roundtripTimes) {
		this.roundtripTimes = roundtripTimes;
	}

	public Float getFreight() {
		return this.freight;
	}

	public void setFreight(Float freight) {
		this.freight = freight;
	}

	public Float getOutput() {
		return this.output;
	}

	public void setOutput(Float output) {
		this.output = output;
	}

	public Float getOilwear() {
		return this.oilwear;
	}

	public void setOilwear(Float oilwear) {
		this.oilwear = oilwear;
	}

	public Float getMileage() {
		return this.mileage;
	}

	public void setMileage(Float mileage) {
		this.mileage = mileage;
	}

	public Float getWeighingFee() {
		return this.weighingFee;
	}

	public void setWeighingFee(Float weighingFee) {
		this.weighingFee = weighingFee;
	}

}